﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///Permission 的摘要说明
/// </summary>
public class Permission
{
    public static bool GetManagerPermission()
    {
        PKURG.CostSplit.Entities.SysUser currentUserInfo = new UserHelper().GetCurrentUserInfo();
        return (currentUserInfo.RwType == 2 )//系统管理员
            || currentUserInfo.RwType == 3;//内置系统管理员
    }
}